package com.example.foo.ftt;

import java.util.Collections;
import java.util.List;

/**
 * 网体级别
 */
public enum FttLevel {
	F0("F0"),
	F1("推广员"),
	F2("创客"),
	F3("试用主管"),
	F4("主管"),
	F5("F5"),
	F6("F6"),
	F7("F7")
	;
	public final String text;
	FttLevel(String text) {
		this.text = text;
	}

	public static FttLevel min(List<FttLevel> fttLevels) {
		return Collections.min(fttLevels, Enum::compareTo);
	}

	public static FttLevel max(List<FttLevel> fttLevels) {
		return Collections.max(fttLevels, Enum::compareTo);
	}

}
